import Layout from '@/layout'
const projectRouter = {
  path: '/project',
  component: Layout,
  redirect: 'noRedirect',
  name: 'project',
  meta: {
    title: 'project',
    icon: 'el-icon-document'
  },
  children: [
    {
      path: 'projectList',
      component: () => import('@/views/project/list'),
      name: 'projectList',
      meta: { title: '办件列表', noCache: true }
    },
    {
      path: 'dict',
      component: () => import('@/views/system/dict'),
      name: 'dict',
      hidden: true,
      meta: { title: '字典管理', noCache: true, roles: [1, 2] }
    }
  ]
}
export default projectRouter
